package br.com.manutencaocarro.modelo;

import java.io.Serializable;
import java.util.Date;

public class Relatorio implements Serializable
{
	private static final long serialVersionUID = -3442178184665033254L;
	private Long id;
	private Date dataInicio;
	private Date dataFim;
	private Integer idCarro;
	
	public Relatorio(Long id, Date dataInicio, Date dataFim, Integer idCarro) {
		super();
		this.id = id;
		this.dataInicio = dataInicio;
		this.dataFim = dataFim;
		this.idCarro = idCarro;
	}

	public Relatorio() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getDataInicio() {
		return dataInicio;
	}

	public void setDataInicio(Date dataInicio) {
		this.dataInicio = dataInicio;
	}

	public Date getDataFim() {
		return dataFim;
	}

	public void setDataFim(Date dataFim) {
		this.dataFim = dataFim;
	}

	public Integer getIdCarro() {
		return idCarro;
	}

	public void setIdCarro(Integer idCarro) {
		this.idCarro = idCarro;
	}

	@Override
	public String toString() {
		return "Relatorio [id=" + id + ", dataInicio=" + dataInicio
				+ ", dataFim=" + dataFim + ", idCarro=" + idCarro + "]";
	}
}